refactor: rename .kip/ runtime dir to .dashboard/ + .orchestrator/ (AUT-52) - #23
Merged
Merged
Conversation
…UT-52) `.kip/` confused the project namespace (Kervaire Invariant Problem) with a tool-layer runtime directory. Split into two semantic dirs: - .dashboard/state.db — UI state index (consumer: ui/server, tools/kip-state) - .orchestrator/ — orchestrator runtime artifacts (cycles/, audit/, incoming) The legacy `/.kip/` ignore rule is retained as a transition aid; safe to `rm -rf .kip/` locally after rebuilding state.db. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the runtime directory naming to avoid conflating the project namespace (“KIP”) with tool/UI runtime artifacts by moving the state DB from .kip/ to .dashboard/ and introducing a separate .orchestrator/ runtime dir for orchestrator artifacts.
Changes:
- Update dashboard DB readers/writers to use
<project>/.dashboard/state.dbinstead of<project>/.kip/state.db. - Update
tools/kip-statedefault output path + help text/docstring to write to.dashboard/state.db. - Update
.gitignoreto ignore/.dashboard/and/.orchestrator/while retaining/.kip/as a legacy transition ignore.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
ui/server/src/routes/nodes.ts |
Switches server-side DB open paths and related messaging/comments to .dashboard/state.db. |
ui/client/src/views/Overview.tsx |
Updates the user-facing fallback text to reference .dashboard/state.db. |
tools/kip-state/index.py |
Changes the default DB output location and related help/docstring text to .dashboard/state.db. |
.gitignore |
Ignores the new runtime directories and keeps legacy /.kip/ ignored for transition. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.kip/confused the project namespace (Kervaire Invariant Problem) with a tool-layer runtime directory. This PR splits the runtime artifacts into two semantic dirs:.dashboard/state.db— UI state index (consumer:ui/server,tools/kip-state).orchestrator/— orchestrator runtime artifacts (cycles/,audit/, incoming with the upcoming plan-prover-review loop, seeORCHESTRATOR_DESIGN_HANDOFF.md)Why two dirs instead of one: dashboard and orchestrator are independent consumers and should evolve independently.
Files changed (4):
.gitignore— replace/.kip/with/.dashboard/+/.orchestrator/; legacy/.kip/retained as transition aidtools/kip-state/index.py— default output path + docstringui/server/src/routes/nodes.ts— read paths + error message + commentui/client/src/views/Overview.tsx— error toast textDockerfiles + compose: no
.kip/hardcoding found, untouched.Linear: AUT-52
Migration
After pulling this PR, rebuild the dashboard index:
```bash
python tools/kip-state/index.py # writes to .dashboard/state.db
rm -rf .kip/ # safe: state.db is derived
```
The legacy `/.kip/` ignore rule keeps your local `.kip/` from showing in `git status`; remove it in a follow-up cleanup PR after the team has migrated.
Test plan
🤖 Generated with Claude Code